<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title><?php echo C('WEB_SITE_TITLE');?>－<?php echo C('WEB_SITE_SLOGAN');?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="author" content="<?php echo C('WEB_SITE_TITLE');?>">
    <meta name="keywords" content="<?php echo ($meta_keywords); ?>">
    <meta name="description" content="<?php echo ($meta_description); ?>">
    <meta name="generator" content="零云">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-title" content="<?php echo C('WEB_SITE_TITLE');?>">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <link rel="shortcut icon" type="image/x-icon" href="/lyadmin-master/favicon.ico">
    <link rel="apple-touch-icon" type="image/x-icon" href="/lyadmin-master/logo.png">
    <link rel="stylesheet" type="text/css" href="http://192.168.0.222:85/lyadmin-master/Public/libs/lyui/dist/css/lyui.min.css">
    <link rel="stylesheet" type="text/css" href="http://192.168.0.222:85/lyadmin-master/Application/Home/View/Public/css/home.css">
    
    <style type="text/css">
        /* jumbotron */
        .lyadmin .title {
            margin-top: 60px;
        }
        .lyadmin .abstract {
            margin: 50px 0 70px;
        }
        .lyadmin .action .btn-default {
            color: #fff;
            border-color: #fff;
            background: none;
        }
        .lyadmin .action .btn-default:hover,
        .lyadmin .action .btn-default.active {
            color: #3EA9F5;
            background: #fff;
        }

        /* section */
        .section {
            padding: 10px 0;
        }
        .section h3 {
            margin-bottom: 30px;
        }

        /* 优秀特性 */
        .section-feature .feature-item {
            margin-bottom: 30px;
            position: relative;
            cursor: pointer;
        }
        .section-feature .feature-item .feature-icon{
            color:#fff;
            padding-top:30px;
            padding-bottom: 30px;
        }
        .section-feature .feature-item .feature-caption {
            border: 1px solid rgb(228,229,230);
            border-top: none;
            padding-top:15px;
            padding-bottom: 15px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .section-feature .feature-item .feature-caption h4 {
            margin: 0px;
            font-weight: 300;
            font-size: 14px;
        }
        .section-feature .feature-cover {
            width: 100%;
            height: 0px;
            position: absolute;
            top:0px;
            left: 0px;
            opacity: 0;
            transition: all 0.3s;
            color: #fff;
            padding: 20px;
        }
        .section-feature .feature-cover.active{
            height: 130px;
            position: absolute;
            top:0px;
            left: 0px;
            opacity: 1;
            z-index: 10;
        }

        @media (max-width: 768px) {
            /* section */
            .section {
                padding: 0px 0;
            }
            .section h3 {
                margin-bottom: 15px;
            }
        }
    </style>

    <!--[if lt IE 9]>
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
        <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="http://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script type="text/javascript">
        window.jQuery || document.write('<script type="text/javascript" src="http://192.168.0.222:85/lyadmin-master/Public/libs/jquery/1.x/jquery.min.js"><\/script>');
        window.lingyun = {
            "app_debug"     : "<?php echo APP_DEBUG; ?>",
            "app_debug_msg" : "调试模式已关闭",
            "top_home_page" : "<?php echo C('TOP_HOME_PAGE');?>",
            "home_page"     : "<?php echo C('HOME_PAGE');?>",
            "var_root "     : "/lyadmin-master",
            "default_img"   : "<?php echo get_cover('', 'default');?>"
        }
    </script>
</head>
<body class="<?php echo ($_page_name); ?>">
    
        
            <div class="clearfix hook hook-page-header">
                <?php echo hook('PageHeader');?> <!-- 文档开始钩子 -->
            </div>
        

        
            <div class="clearfix full-wrap">
                <div class="clearfix full-header">
                    
                        
                            <nav class="navbar navbar-default main-nav m-a-0" role="navigation">
                                <div class="container">
                                    <div class="navbar-header">
                                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-main">
                                            <span class="sr-only">切换导航</span>
                                            <span class="icon-bar"></span>
                                            <span class="icon-bar"></span>
                                            <span class="icon-bar"></span>
                                        </button>
                                        <?php if(C('WEB_SITE_LOGO')): ?>
                                            <a class="navbar-brand" href="<?php echo C('HOME_PAGE');?>">
                                                <img alt="logo" src="<?php echo (get_cover(C("WEB_SITE_LOGO"))); ?>" style="display: inline-block">
                                            </a>
                                        <?php else: ?>
                                            <a class="navbar-brand" href="<?php echo C('HOME_PAGE');?>">
                                                <span style="font-size: 30px;"><?php echo C('LOGO_DEFAULT');?></span>
                                            </a>
                                        <?php endif; ?>
                                    </div>
                                    <div class="collapse navbar-collapse navbar-collapse-main">
                                        <ul class="nav navbar-nav navbar-left"></ul>
                                        <ul class="nav navbar-nav navbar-right">
                                            <!-- 主导航 开始 -->
                                            <?php $__NAV_LIST__ = D('Admin/Nav')->getNavTree(0, "main"); if(is_array($__NAV_LIST__)): $i = 0; $__LIST__ = $__NAV_LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if(isset($vo['_child'])): ?>
                                                    <li class="dropdown">
                                                        <a href="<?php echo ($vo["href"]); ?>" class="dropdown-toggle" data-toggle="dropdown" role="button">
                                                            <?php echo ($vo["title"]); ?> <span class="caret"></span>
                                                        </a>
                                                        <ul class="dropdown-menu">
                                                            <?php if(is_array($vo["_child"])): $i = 0; $__LIST__ = $vo["_child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($i % 2 );++$i;?><li>
                                                                    <a target="<?php echo ($vo["target"]); ?>" href="<?php echo ($vo1["href"]); ?>"><?php echo ($vo1["title"]); ?></a>
                                                                </li><?php endforeach; endif; else: echo "" ;endif; ?>
                                                        </ul>
                                                    </li>
                                                <?php else: ?>
                                                    <li class="<?php  if(C('HOME_DOMAIN') . $_SERVER['REQUEST_URI'] == $vo['href']) { echo 'active'; } ?>">
                                                        <a target="<?php echo ($vo["target"]); ?>" href="<?php echo ($vo["href"]); ?>">
                                                            <span> <?php echo ($vo["title"]); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                            <!-- 主导航 结束 -->
                                        </ul>
                                    </div>
                                </div>
                            </nav>
                        
                    
                </div>

                <div class="clearfix full-container">
                    
    <div class="jumbotron jumbotron-primary jumbotron-background section-feature-slider lyadmin">
            <div class="container">
                <div>
                    <h1 class="title">
                        <?php echo C('WEB_SITE_TITLE');?>
                        <label class="small"><?php echo C('CURRENT_VERSION');?></label>
                    </h1>
                </div>
                <p class="abstract">
                    <?php echo C('WEB_SITE_DESCRIPTION');?>
                </p>
                <div class="action">
                    <a class="btn btn-default btn-pill" target="_blank" href="https://github.com/ijry/lyadmin" ><i class="fa fa-download"></i> 立即下载</a>
                    <a class="btn btn-default btn-pill" target="_blank" href="https://github.com/ijry/lyadmin"><i class="fa fa-github"></i> GitHub</a>
                    <a class="btn btn-default btn-pill hidden-xs" target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=9e5c6b98cf3bb4265bd6031b25f236cc4c7e596c31612b50d98b5e099cc3d246"><i class="fa fa-qq"></i> QQ群</a>
                    <a class="btn btn-default btn-pill" target="_blank" href="http://lyadmin.lyunweb.com"><i class="fa fa-flask"></i> 演示</a>
                </div>
            </div>
        </div>
    </div>


                    

                    <div id="main" class="main">
                        
    <div class="section section-feature">
        <div class="container">
            <div class="row">
                <div class="col-sm-6 col-sm-offset-3 feature-bg text-center" >
                    <h3 class="feature-title" style="color:rgb(109,188,245)">优秀特性</h3>
                </div>
            </div>
            <div class="row feature-list">
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(81,175,241)"><span class="fa fa-cloud fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">开发模块化</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(81,175,241)">
                            <div class="feature-cover-content">
                                系统功能全面模块化、插件化；可以用来对系统功能进行无限扩展。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(245,181,91)"><span class="fa fa-hourglass-1 fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">Builder页面生成技术</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(245,181,91)">
                            <div class="feature-cover-content">
                                独创的Builder页面自动生成技术极大的解放了后端开发者的工作，只需要专注于业务逻辑，页面交给Builder帮您完成。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(59,183,225)"><span class="fa fa-tablet fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">多终端多平台支持</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(59,183,225)">
                            <div class="feature-cover-content">
                                支持PC、手机Wap、微信等常见界面的页面响应式。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(8,74,155)"><span class="fa fa-book fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">文档齐全开发简单</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(8,74,155)">
                            <div class="feature-cover-content">
                                官方开发文档齐全、更新及时，让二次开发变得简单。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(66,169,243)"><span class="fa fa-flash fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">基于ThinkPHP3.2.3最新版</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(66,169,243)">
                            <div class="feature-cover-content">
                                ThinkPHP 是一个免费开源的，快速、简单的面向对象的 轻量级PHP开发框架 ，遵循Apache2开源协议发布，是为了敏捷WEB应用开发和简化企业应用开发而诞生的。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(236,64,227)"><span class="fa fa-desktop fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">基于Bootstrap3.3.5</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(236,64,227)">
                            <div class="feature-cover-content">
                                官方开发cui前端框架，是在Bootstrap3.3.5基础上扩展出来的完全兼容Bootstrap3的最适合国人的前端框架。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(243,152,71)"><span class="fa fa-server fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">独家两种后台模式</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(243,152,71)">
                            <div class="feature-cover-content">
                                独创的经典和多标签两种后台，一键切换，让您在合适的场景选择合适的模式。
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-6">
                    <div class="feature-item text-center">
                        <div class="feature-icon" style="background:rgb(84,222,234)"><span class="fa fa-heart fa-5x"></span></div>
                        <div class="feature-caption">
                            <h4 class="text-center">自主产权技术支持完善</h4>
                        </div>
                        <div class="feature-cover" style="background:rgb(84,222,234)">
                            <div class="feature-cover-content">
                                本系统经国家教育部科技查新工作站查新认证、具有国家版权中心软件著作权，完全官方自主研发核心技术，技术支持完善。
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

                    </div>
                </div>

                <div class="clearfix full-foooter">
                    
                        <div class="footer">
                            <div class="container">
                                <div class="row">
                                    <div class="col-sm-6  col-lg-7 footnav-list">
                                        <div class="row">
                                            <!-- 底部导航 开始 -->
                                            <?php $__NAV_LIST__ = D('Admin/Nav')->getNavTree(0, "bottom"); if(is_array($__NAV_LIST__)): $i = 0; $__LIST__ = $__NAV_LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="col-xs-3">
                                                    <h4><?php echo ($vo["title"]); ?></h4>
                                                    <ul class="list-unstyled">
                                                        <?php if(is_array($vo["_child"])): $i = 0; $__LIST__ = $vo["_child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($i % 2 );++$i;?><li>
                                                                <a target="<?php echo ($vo1["target"]); ?>" class="text-muted" href="<?php echo ($vo1["href"]); ?>"><?php echo ($vo1["title"]); ?></a>
                                                            </li><?php endforeach; endif; else: echo "" ;endif; ?>
                                                    </ul>
                                                </div><?php endforeach; endif; else: echo "" ;endif; ?>
                                            <!-- 底部导航 结束 -->
                                        </div>
                                    </div>
                                    <div class="col-sm-6 col-lg-5 qrcode-list">
                                        <div class="col-xs-6 text-center">
                                            <img src="<?php echo get_cover(C('QR_IOS'), 'qr_ios'); ?>" width="100">
                                            <p>iOS版本</p>
                                        </div>
                                        <div class="col-xs-6 text-center">
                                            <img src="<?php echo get_cover(C('QR_ANDROID'), 'qr_android');?>" width="100">
                                            <p>Android版本</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="footer-bottom">
                            <div class="container">
                                <ul class="list-inline pull-left">
                                    <li><a class="icp" href="http://www.miibeian.gov.cn/" target="_blank"><?php echo C('WEB_SITE_ICP');?></a></li>
                                    <li><span class="copyright"><?php echo C('WEB_SITE_COPYRIGHT');?></span></li>
                                </ul>
                                <ul class="list-inline pull-right hidden-xs">
                                    <li><span><a target="_blank" href="http://weex-china.org">weex中文网</a></span></li>
                                    <li><span>Powered By <a target="_blank" href="http://www.lingyun.net">零云</a></span></li>
                                </ul>
                            </div>
                        </div>
                    
                </div>
            </div>
        

        
            <div class="clearfix hook hook-page-footer">
                <?php echo hook('PageFooter');?> <!-- 文档末尾钩子 -->
            </div>
        
    

    
        <div class="clearfix full-script">
            <div class="container-fluid">
                <link rel="stylesheet" type="text/css" href="http://192.168.0.222:85/lyadmin-master/Public/libs/bootstrap_validator/css/bootstrapValidator.min.css">
<style type="text/css">
    /* 验证码样式 */
    .verifyimg-box {
        padding: 0px;
    }
    .verifyimg-box .verifyimg {
        width: 138px;
        height: 42px;
        cursor: pointer;
        border-radius: 4px;
    }
</style>

<div class="modal fade" id="login-modal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">用户登录</h4>
            </div>
            <div class="modal-body">
                <form action="<?php echo U('User/User/login', '', true, true);?>" method="POST" class="form login-form-model" role="form">
                    <div class="form-group">
                        <input type="text" class="form-control input-lg" placeholder="邮箱/手机号/用户名" name="username">
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control input-lg" placeholder="请输入密码" name="password">
                    </div>
                    <div class="form-group clearfix">
                        <label class="checkbox-inline" for="remember-login">
                            <input id="remember-login" type="checkbox" name="remember_login" checked="checked">
                            <span>保持登录</span>
                        </label>
                        <span class="pull-right">
                            <a class="text-muted" href="<?php echo U('User/User/reset_password', '', true, true);?>">忘记密码</a>
                            <a class="text-muted" data-toggle="modal" href="#register-modal">注册帐号</a>
                        </span>
                    </div>
                    <div class="form-group">
                        <button type="submit" class="btn btn-primary-outline btn-lg btn-block submit ajax-post" target-form="login-form-model">登录</button>
                    </div>
                    <div class="form-group">
                        <?php echo hook('SyncLogin');?> <!-- 第三方登陆钩子 -->
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="register-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">用户注册</h4>
            </div>
            <div class="modal-body">
                <!-- 后台管理员允许注册方式才会显示 -->
                <?php if (D('Admin/Module')->where('name="User"')->find() && is_dir(APP_PATH . 'User/')) { $allow_reg_type = C('user_config.allow_reg_type'); $user_type_list = D('User/Type')->where('status = 1')->select(); } else { $allow_reg_type = array('username', 'email', 'mobile'); $user_type_list = array(); } ?>
                <?php if(count($allow_reg_type) !== 1): ?>
                    <ul class="nav nav-pills nav-justified nav-justified-xs">
                        <?php if(in_array('username', $allow_reg_type)): ?>
                            <li data-tab="modal-reg1" <?php if($allow_reg_type[0] === 'username') echo 'class="active"'; ?>>
                                <a href="#modal-reg1" data-toggle="tab">用户名注册</a>
                            </li>
                        <?php endif; ?>
                        <?php if(in_array('email', $allow_reg_type)): ?>
                            <li data-tab="modal-reg2" <?php if($allow_reg_type[0] === 'email') echo 'class="active"'; ?>>
                                <a href="#modal-reg2" data-toggle="tab">邮箱注册</a>
                            </li>
                        <?php endif; ?>
                        <?php if(in_array('mobile', $allow_reg_type)): ?>
                            <li data-tab="modal-reg3" <?php if($allow_reg_type[0] === 'mobile') echo 'class="active"'; ?>>
                                <a href="#modal-reg3" data-toggle="tab">手机号注册</a>
                            </li>
                        <?php endif; ?>
                    </ul>
                <?php endif; ?>
                <div class="form-group"></div>
                <div class="tab-content">
                    <?php if(in_array('username', $allow_reg_type)): ?>
                        <div id="modal-reg1" class="tab-pane <?php if($allow_reg_type[0] === 'username') echo "active"; ?>">
                            <form action="<?php echo U('User/User/register', '', true, true);?>" method="post" class="form reg-form-username-modal">
                                <fieldset>
                                    <?php if(count($user_type_list) !== 1): ?>
                                        <div class="form-group">
                                            <?php if(is_array($user_type_list)): $i = 0; $__LIST__ = $user_type_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$utype): $mod = ($i % 2 );++$i;?><label class="radio-inline">
                                                    <input type="radio" class="radio" name="user_type" value="<?php echo ($utype["id"]); ?>"> <?php echo ($utype["title"]); ?>
                                                </label><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </div>
                                    <?php else: ?>
                                        <input type="hidden" name="user_type" value="<?php echo ($user_type_list[0]['id']); ?>">
                                    <?php endif; ?>
                                    <div class="form-group">
                                        <input type="text" class="form-control input-lg" name="username" placeholder="请输入用户名">
                                    </div>
                                    <div class="form-group">
                                        <input type="password" class="form-control input-lg" name="password" placeholder="请输入密码">
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group">
                                            <input type="text" class="form-control input-lg" name="verify" placeholder="请输入验证码">
                                            <span class="input-group-addon verifyimg-box">
                                                <img class="verifyimg reload-verify" alt="验证码" src="<?php echo U('User/User/verify', '', true, true);?>" title="点击刷新">
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <span>点击下一步表示同意<a data-toggle="modal" href='#user_protocol-modal'>用户协议</a></span>
                                    </div>
                                    <div class="form-group">
                                        <input type="hidden" name="reg_type" value="username">
                                        <button class="btn btn-primary btn-pill btn-block btn-lg submit ajax-post" type="submit" target-form="reg-form-username-modal">下 一 步</button>
                                    </div>
                                </fieldset>
                            </form>
                        </div>
                    <?php endif; ?>
                    <?php if(in_array('email', $allow_reg_type)): ?>
                        <div id="modal-reg2" class="tab-pane <?php if($allow_reg_type[0] === 'email') echo "active"; ?>">
                            <form action="<?php echo U('User/User/register', '', true, true);?>" method="post" class="form reg-form-email-modal">
                                <fieldset>
                                   <?php if(count($user_type_list) !== 1): ?>
                                        <div class="form-group">
                                            <?php if(is_array($user_type_list)): $i = 0; $__LIST__ = $user_type_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$utype): $mod = ($i % 2 );++$i;?><label class="radio-inline">
                                                    <input type="radio" class="radio" name="user_type" value="<?php echo ($utype["id"]); ?>"> <?php echo ($utype["title"]); ?>
                                                </label><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </div>
                                    <?php else: ?>
                                        <input type="hidden" name="user_type" value="<?php echo ($user_type_list[0]['id']); ?>">
                                    <?php endif; ?>
                                    <div class="form-group">
                                        <input type="text" class="form-control input-lg" name="email" placeholder="请输入邮箱">
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group">
                                            <input type="text" class="form-control input-lg" name="verify" placeholder="请输入验证码">
                                            <span class="input-group-btn">
                                                <button type="button" class="btn btn-default btn-lg send-mail-verify" data-title="用户注册">发送邮件验证码</button>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <input type="password" class="form-control input-lg" name="password" placeholder="请输入密码">
                                    </div>
                                    <div class="form-group">
                                        <span>点击下一步表示同意<a data-toggle="modal" href='#user_protocol-modal'>用户协议</a></span>
                                    </div>
                                    <div class="form-group">
                                        <input type="hidden" name="reg_type" value="email">
                                        <button class="btn btn-primary btn-pill btn-block btn-lg submit ajax-post" type="submit" target-form="reg-form-email-modal">下 一 步</button>
                                    </div>
                                </fieldset>
                            </form>
                        </div>
                    <?php endif; ?>
                    <?php if(in_array('mobile', $allow_reg_type)): ?>
                        <div id="modal-reg3" class="tab-pane <?php if($allow_reg_type[0] === 'mobile') echo "active"; ?>">
                            <form action="<?php echo U('User/User/register', '', true, true);?>" method="post" class="form reg-form-mobile-modal">
                                <fieldset>
                                    <?php if(count($user_type_list) !== 1): ?>
                                        <div class="form-group">
                                            <?php if(is_array($user_type_list)): $i = 0; $__LIST__ = $user_type_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$utype): $mod = ($i % 2 );++$i;?><label class="radio-inline">
                                                    <input type="radio" class="radio" name="user_type" value="<?php echo ($utype["id"]); ?>"> <?php echo ($utype["title"]); ?>
                                                </label><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </div>
                                    <?php else: ?>
                                        <input type="hidden" name="user_type" value="<?php echo ($user_type_list[0]['id']); ?>">
                                    <?php endif; ?>
                                    <div class="form-group">
                                        <input type="text" class="form-control input-lg" name="mobile" placeholder="请输入手机号">
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group">
                                            <input type="text" class="form-control input-lg" name="verify" placeholder="请输入验证码">
                                            <span class="input-group-btn">
                                                <button type="button" class="btn btn-default btn-lg send-mobile-verify" data-title="用户注册">发送短信验证码</button>
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <input type="password" class="form-control input-lg" name="password" placeholder="请输入密码">
                                    </div>
                                    <div class="form-group">
                                        <span>点击下一步表示同意<a data-toggle="modal" href='#user_protocol-modal'>用户协议</a></span>
                                    </div>
                                    <div class="form-group">
                                        <input type="hidden" name="reg_type" value="mobile">
                                        <button class="btn btn-primary btn-pill btn-block btn-lg submit ajax-post" type="submit" target-form="reg-form-mobile-modal">下 一 步</button>
                                    </div>
                                </fieldset>
                            </form>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 用户协议弹窗 -->
<div class="modal fade" id="user_protocol-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">用户协议</h4>
            </div>
            <div class="modal-body modal-body-scroller">
                <?php echo C('user_config.user_protocol');?>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">同意</button>
            </div>
        </div>
    </div>
</div>
 <!-- 弹窗 -->
                <script type="text/javascript" src="http://192.168.0.222:85/lyadmin-master/Public/libs/lyui/dist/js/lyui.min.js"></script>
                <script type="text/javascript" src="http://192.168.0.222:85/lyadmin-master/Application/Home/View/Public/js/home.js"></script>
                <script type="text/javascript">
                    $(function() {
                        // 主导航如果没有当前URL完全一致的页面则高亮当前页面所在的模块
                        var $nav_list = $(".main-nav .navbar-right");
                        var $current = $nav_list.find("li.active");
                        if ($current.length == 0) {
                            var url = "<?php echo U('/'.MODULE_NAME, '', true, true); ?>";
                            $('.navbar li a[href="' + url + '"]').closest('li').addClass('active');
                        }
                    });
                </script>
                
    <script type="text/javascript" >
        $(function(){
            // 特性详情
            $('.feature-item').hover(function() {
                $(this).children('.feature-cover').addClass('active');
            }, function() {
                $(this).children('.feature-cover').removeClass('active');
            });
        });
    </script>

                <?php echo C('WEB_SITE_STATISTICS');?> <!-- 站点统计代码 -->
            </div>
        </div>
    
</body>
</html>